Skip to content

Add RecompLauncher support (recomplauncher.json and badge) - #307

Closed
elripalda wants to merge 5 commits into
HarbourMasters:mainfrom
elripalda:recomplauncher-support
Closed

elripalda wants to merge 5 commits into
HarbourMasters:mainfrom
elripalda:recomplauncher-support

Conversation

@elripalda

@elripalda elripalda commented Nov 13, 2026 •

Copy link
Copy Markdown

Hi! This makes Starship installable from RecompLauncher, where it's already listed: https://recomplauncher.com/game/starship.

What it adds for players

  • Installs and updates from your GitHub releases.
  • Easy Setup: the player picks their own copy once, and the launcher checks it, runs the setup with a progress bar (the new --prepare mode, see The code changes) and starts the game. No setup window.
  • Its settings on the game's page in the launcher and in Big Picture mode: Full screen, Resolution, Anti-aliasing, V-Sync, Frame rate, Texture filtering.
  • A Mods tab that points players to its mods.
  • A "Get it on RecompLauncher" badge in the README.

Not in this pull request yet

  • Save backups and cloud saves: we couldn't tell where saves go.
  • Logs in crash reports: we couldn't find a log file.
  • recomplauncher.json in the release: the launcher reads it from the release (next to the program, or the AppImage root), not from the repo, so it needs copying in when the release is made. The Windows zip and the AppImage are assembled in .github/workflows/windows.yml and linux.yml (CMakeLists.txt only installs files for Linux and macOS), and workflows can't be edited here. Add one step to each that copies recomplauncher.json from the repo root next to Starship.exe in the zip, and to the AppDir root before the AppImage is built.

The code changes

They're in their own commits and only apply when the launcher passes the new arguments. Without them the game starts and behaves exactly as before.

  • --game hands the player's ROM (.z64) to the same extractor the ROM picker uses, so the file dialog is skipped.
  • --prepare runs the same steps as the first-start extraction (read the ROM, check its hash, GenerateOTR) with no window, using the ROM from --game.
  • --prepare prints 'progress N text' lines, exits 0 when sf64.o2r is made, and exits 1 with one line on stderr when the ROM is missing, unsupported or extraction fails.
  • Without these options nothing changes: the program starts and shows its own ROM picker as before.
  • recomplauncher.json now passes --game {game} on start, has a game section for the US ROM, and a prepare step.

We haven't built it on our side, so a quick build before merging would be great. Happy to adjust anything.

Things that would make your recomp better

  • Medium: a --game option (or a --prepare mode) that builds starship.o2r from the player's US 1.0 or 1.1 .z64 without the window, printing progress lines, so the launcher can set the game up and start it straight away instead of the in-app ROM picker
  • Small: copy recomplauncher.json next to Starship.exe in the release zip, so the launcher reads it from each release
  • Small: a --fullscreen option that starts straight into the game in full screen, for launchers and Big Picture mode
  • Small: drop the codename (Barnard-Alfa) and the version from the zip names, or add the version, so the file name is the same every release (Starship-Windows.zip)

For the developer

A free developer account at https://recomplauncher.com/dev (sign in with GitHub) lets you claim the recomp on RecompLauncher. Its page then shows it as yours, with the Verified developer badge once approved, and you can edit its page and art, see stats and read player reports with their logs.

If you'd rather not have the badge, a plain link to its RecompLauncher page somewhere in the README works too.

What's RecompLauncher?

RecompLauncher (https://recomplauncher.com) is a free, open-source launcher for PC recomps and decomps on Windows, Mac and Linux. Players point it at their own copy of the game once, and it installs, sets up and updates the recomp from your GitHub releases, with save backups and crash reports in one place. We want it to be the number one home for recomps and decomps, and we work with developers to help their projects reach more players and hold up to a high standard, for devs and players alike.

Feel free to change anything here, or close this if it's not for you. No hard feelings.

@Jameriquiah Jameriquiah closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants